export default {
    path: '/login',
    component: require('./index').default,
    indexRoute: {
      getComponent(state, cb){
        require.ensure([], require => cb(null, require('./PwdLogin').default))
    } 
  },
    childRoutes: [
      {
        path: 'smsLogin',
        getComponent(state, cb){
          require.ensure([], require => cb(null, require('./SmsLogin').default))
        }
      },
      {
        path: 'forgetPwd1',
        getComponent(state, cb){
          require.ensure([], require => cb(null, require('./ForgetPwdStep1').default))
        }
      },
      {
        path: 'forgetPwd2',
        getComponent(state, cb){
          require.ensure([], require => cb(null, require('./ForgetPwdStep2').default))
        }
      },
      {
        path: 'forgetPwd3',
        getComponent(state, cb){
          require.ensure([], require => cb(null, require('./ForgetPwdStep3').default))
        }
      }

    ]
  }